const express = require('express')
const router = express.Router()

//导入用户路由处理模块
const tcHandler = require('../router_handler/teachcourse')

//验证数据的中间件
const expressJoi = require('@escook/express-joi')

//添加
router.post('/addtc', tcHandler.addTC)
//查询
router.get('/gettc', tcHandler.getTC)
//更新
router.post('/updatetc', tcHandler.updateTC)
//删除
router.post('/deletetc', tcHandler.deleteTC)

module.exports = router